package com.xiaomai.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("goods")
public class Goods extends BaseEntity{

    private static final long serialVersionUID = 1L;

    @TableField("goods_name")
    private String goodsName;

    @TableField("price")
    private Double price;

    @TableField("type")
    private Integer type;

    //默认值0时，表示在售 1时表示审核中，2表示已付款，3表示已发货 4表示已签收
    @TableField("status")
    private Integer status;

    @TableField("image1")
    private String image1;

    @TableField("image2")
    private String image2;

    @TableField("image3")
    private String image3;

    @TableField("user_id")
    private String userId;

    @TableField("buyers_id")
    private String buyersId;

    @TableField("description")
    private String description;

}
